import mx.collections.ArrayCollection;
import mx.controls.Alert;
import mx.core.FlexGlobals;
import mx.utils.UIDUtil;

private function createXML():void{
	flexServiceRO.getColumnsXML(edDataBaseName.text, edTableName.text);
}

private function getColumnsXMLResult():void{
	var sheet:XML =
		<sheet>
			<sid>先空着，保存数据库之后回填</sid>
			<sourceKey>TERADATA下为“teradata”，DB2下为“webdb”</sourceKey>
			<databaseName></databaseName>
			<tableName></tableName>
			<sheetTitle>报表的标题</sheetTitle>
			<order>使用默认排序则删除</order>
			<paginate countPerPage="20" pageable="true" />
			<export enable="true" enableAll="true" exportAllDataBase="aistdata" />
			<conditions>条件配置，拷贝其他配置文件</conditions>
			<columns/>
		</sheet>
	sheet.databaseName = edDataBaseName.text;
	sheet.tableName = edTableName.text;
	sheet.columns = XML(flexServiceRO.getColumnsXML.lastResult);
	taXML.text = sheet;
}	